{extend name="public/layout" /}
{block name="head"}{/block}
{block name="body"}
<body>
  <div class="container-fluid p-t-15">
    <div class="card">
      <div class="card-body">
        <form class="form-horizontal" id="form" data-url="/system/member/index.html">
          <div class="form-group">
            <label class="col-sm-2 control-label">昵称</label>
            <div class="col-sm-8">
              {:\\helper\\Form::_text('nick','',[
              "datatype"=>"*"
              ])}
            </div>
          </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">手机号</label>
                <div class="col-sm-8">
                    {:\\helper\\Form::_text('mobile','',[
                    "datatype"=>"*"
                    ])}
                </div>
            </div>
            <div class="patch-content patch-content-1">
                <div class="form-group">
                    <label class="col-sm-2 control-label">头像</label>
                    <div class="col-sm-6">
                        {:\\helper\\Form::_uploadImage('avatar','',[
                        "data-theme"=>"single01"
                        ])}
                    </div>
                </div>
            </div>
            <div class="patch-content patch-content-1">
                <div class="form-group">
                    <label class="col-sm-2 control-label">唯一ID</label>
                    <div class="col-sm-6">
                        {:\\helper\\Form::_uploadImage('unionid','',[
                        "data-theme"=>"single01"
                        ])}
                    </div>
                </div>
            </div>
            <div class="patch-content patch-content-1">
                <div class="form-group">
                    <label class="col-sm-2 control-label">openid</label>
                    <div class="col-sm-6">
                        {:\\helper\\Form::_uploadImage('openid','',[
                        "data-theme"=>"single01"
                        ])}
                    </div>
                </div>
            </div>
          <div class="form-group">
            <div class="col-sm-10 col-sm-offset-2">
              <div class="pull-left">
                <button type="button" class="btn btn-primary btn-sub">保存</button>
                <button type="button" class="btn btn-default btn-reset">重置</button>
              </div>
              <div class="pull-left m-l-15">
                <p class="error-msg"></p>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <script>
    formHelper.init();
    formHelper.subForm();
  </script>
</body>
{/block}